package com.yugao.fintech.draper.core.propertie;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Collections;
import java.util.List;

@Getter
@Setter
@ConfigurationProperties(prefix = "draper.xss")
public class XssProperties {

    /**
     * 是否开启xss过滤
     */
    private boolean enable = true;

    /**
     * 忽略xxs过滤的请求路径
     */
    private List<String> ignoreUrls = Collections.emptyList();

}
